package test_2024_4_9_01_java;

public class Customer {
	int memberID;
	float money;
	int score;
	
	public void money(float m, double payMoney) {
		money = m;
		System.out.println("--------------欢迎来到结账界面--------------");
		if(money >= payMoney){
			System.out.println("已支付，剩余余额：" + (money - payMoney) + "(消费满66.6可获得抽奖一次)");
		}
		else {
			System.out.println("余额不足");
		}
	}
}

